package com.sgu6.usb;

public class Define {
	public static byte STX = (byte) 0xAA;
	public static byte ETX = (byte) 0xBB;
	// ISO14443A
	public static byte REQA = 0x03;
	public static byte Anticoll_A = 0x04;
	public static byte Select_A = 0x05;
	public static byte Halt_A = 0x06;

	// ISO14443B
	public static byte ReqB = 0x09;
	public static byte AnticollB = 0x0A;
	public static byte Attrib_TypeB = 0x0B;
	public static byte Rst_TypeB = 0x0C;
	public static byte ISO14443_TypeB_Transfer_Command = 0x0D;

	// MF

	public static byte MF_Read = 0x20;
	public static byte MF_Write = 0x21;
	public static byte MF_InitVal = 0x22;
	public static byte MF_Decrement = 0x23;
	public static byte MF_Increment = 0x24;
	public static byte MF_GET_SNR = 0x25;
	public static byte ISO14443_TypeA_Transfer_Command = 0x28;

	// ISO15693
	public static byte ISO15693_Inventory = 0x10;
	public static byte ISO15693_Read = 0x11;
	public static byte ISO15693_Write = 0x12;
	public static byte ISO15693_Lockblock = 0x13;
	public static byte ISO15693_StayQuiet = 0x14;
	public static byte ISO15693_Select = 0x15;
	public static byte ISO15693_Resetready = 0x16;
	public static byte ISO15693_Write_Afi = 0x17;
	public static byte ISO15693_Lock_Afi = 0x18;
	public static byte ISO15693_Write_Dsfid = 0x19;
	public static byte ISO15693_Lock_Dsfid = 0x1A;
	public static byte ISO15693_Get_Information = 0x1B;
	public static byte ISO15693_Get_Multiple_Block_Security = 0x1C;
	public static byte ISO15693_Transfer_Command = 0x1D;

	// ultralight
	public static byte CMD_UL_HLRead = (byte) 0xE0;
	public static byte CMD_UL_HLWrite = (byte) 0xE1;
	public static byte CMD_UL_Request = (byte) 0xE3;

	// system setting
	public static byte SetAddress = (byte) 0x80;
	public static byte SetBaudrate = (byte) 0x81;
	public static byte SetSerlNum = (byte) 0x82;
	public static byte GetSerlNum = (byte) 0x83;
	public static byte Write_UserInfo = (byte) 0x84;
	public static byte Read_UserInfo = (byte) 0x85;
	public static byte Get_VersionNum = (byte) 0x86;
	public static byte Control_Led1 = (byte) 0x87;
	public static byte Control_Led2 = (byte) 0x88;
	public static byte Control_Buzzer = (byte) 0x89;
}
